package com.jhj.springboot_exp3.model;

import lombok.Data;

@Data
public class CsvModel {
    private String state; // 省
    private String country; // 国家
    private int latestTotalCases; // 最新总例
    private int diffFromPrevDay; // 日变化

    public CsvModel(String state, String country, int latestTotalCases, int diffFromPrevDay) {
        this.state = state;
        this.country = country;
        this.latestTotalCases = latestTotalCases;
        this.diffFromPrevDay = diffFromPrevDay;
    }
}
